package com.objectproject.main.service.iface;


import java.util.Locale;

import com.objectproject.main.exception.ObjectHierarchyException;
import com.objectproject.main.exception.RenderFailException;
import com.objectproject.main.model.MyObject;

public interface MyObjectService {
	
	public abstract long createMyObject(MyObject myObject,Locale locale) throws ObjectHierarchyException;
	
	public abstract void removeMyObject(long objectId);
	
	public abstract void reviseMyObject(MyObject myObject);
	
	public abstract MyObject getMyObject(long objectId, Locale locale) throws RenderFailException;
	
}
